package android_design_mode.chapter03_builder;

public class MacbookBuilder extends Builder {

    private Computer mComputer = new Macbook();


    @Override
    public void buildBoard(String board) {
        mComputer.setmBoard(board);
    }

    @Override
    public void buildDiaplay(String diaplay) {
        mComputer.setmDisplay(diaplay);
    }

    @Override
    public void buildOS() {
        mComputer.setmOS();
    }

    @Override
    public Computer create() {
        return mComputer;
    }
}
